<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>打印</title>
    <link href="demo.css" rel="stylesheet" type="text/css"/>
    <script src="../../../../scripts/boot.js" type="text/javascript"></script>
</head>
<body>

</body>
<style type="text/css">
    html, body {
        margin: 0;
        padding: 0;
        border: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
</style>
<div class="mini-toolbar" style="padding:2px;border-bottom:0;" id="toolbar">
    <table style="width:100%;">
        <tr>
            <td style="width:100%;">
                <a class="mini-button" iconCls="icon-edit" plain="true" id="but_update" onclick="update()">修改</a>
                <span class="separator"></span>
                <a class="mini-button" iconCls="icon-disk_error" plain="true" id="but_getup" onclick="getup()" enabled="false">放弃</a>
                <span class="separator"></span>
                <a class="mini-button" iconCls="icon-add" plain="true" id="but_add" onclick="addRow()" enabled="false">新增</a>
                <span class="separator"></span>
                <a class="mini-button" iconCls="icon-save" plain="true" id="but_save" onclick="saveData()" enabled="false"> 保存</a>
                <span class="separator"></span>
                <a class="mini-button" iconCls="icon-remove" plain="true" id="but_remove" onclick="removeRow()" enabled="false">删除</a>
                <span class="separator"></span>
                <a class="mini-button" iconCls="icon-reload" plain="true"onclick="reloaddata()" id="but_reload" enabled="false">刷新</a>
            </td>
            <td style="white-space:nowrap;"><label style="font-family:Verdana;">模板名称: </label>
                <input class="mini-textbox" id="key"/>
                <a class="mini-button" iconCls="icon-search" plain="true" onclick="onSearch()">查询</a>
            </td>
        </tr>
    </table>
</div>
<!--撑满页面-->
<div class="mini-fit" id="griddiv">

    <div id="datagrid1" class="mini-datagrid" style="width:100%;height:100%;"
         idField="id" alageSize="20" allowCellEdit="false" allowCellSelect="true" multiSelect="true"
         editNextOnEnterKey="true"  editNextRowCell="true"lowResize="true" >
        <div property="columns">
            <div type="indexcolumn"></div>
            <div type="checkcolumn"></div>
            <div type="id" field="printId" width="40" headerAlign="center" allowSort="true" visible="false">ID</div>
            <div field="printingName" width="120" headerAlign="center" allowSort="true">模板名称
                <input property="editor" class="mini-textbox" style="width:100%;" />
            </div>
            <div field="modelId" width="120" headerAlign="center" allowSort="true">模型ID</div>
            <div field="cContent" width="120" headerAlign="center" allowSort="true">备注
                <input property="editor" class="mini-textbox" style="width:100%;" />
            </div>
            <!--<div type="checkboxcolumn" field="bDef" trueValue="1" falseValue="0" width="40" headerAlign="center">是否默认</div>-->
            <!--<div field="cType" width="100" headerAlign="center" allowSort="true">类型-->
                <!--<input property="editor" class="mini-combobox" style="width:100%;" data="Genders" />-->
            <!--</div>-->
            <div name="action" width="120" headerAlign="center" align="center" renderer="onActionRenderer" cellStyle="padding:0;">编辑模板</div>
            <!--<div name="action2" width="120" headerAlign="center" align="center" renderer="onActionRenderer2" cellStyle="padding:0;">打印预览</div>-->

        </div>
    </div>

</div>

<script src="js/ColumnsMenu.js" type="text/javascript"></script>
<script src="js/PrinterCentre.js" type="text/javascript"></script>

</html>